<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
	<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" 
                                                  prefix="fn" %>
<%@ include file="/pages/common/taglibs.jsp"%>

<script type="text/javascript"
	src="${ctx}/pages/templete/js/validate/pay.js"></script>
	
	
<form:form id='payForm' name="payForm" action="${ctx}/cloud/transfer/pay2bankSubmit.do"
	method="post" target="_blank">
	
	<table width="100%">
	
		<tr>
			<td width="35%" align=right>版本号:</td>
			<td>
				<select id="version" name="version">
					<option value="2.1" selected >2.1</option>
				</select>
			</td>
		</tr>
	
		<tr>
			<td width="30%" align=right>交易代码:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="tranCode" name="tranCode" value="0618" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>云账户平台ID:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="merchantID" name="merchantID" value="0000003850"
				size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="merchantIDTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>云账户平台帐号:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="merchantID" name="payAcctId" value="0000000002100000635"
				size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="merchantIDTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>商户订单号:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="merOrderNum" name="merOrderNum" value="${config.merOrderNum }" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="merOrderNumTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>交易金额:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="tranAmt" name="tranAmt" value="0.01" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="tranAmtTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>收款方协议号:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="recAgreeId" name="recAgreeId" value="" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="virCardNoInTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>收款方绑卡ID:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="bindId" name="bindId"
				value="" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="currencyTypeTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>交易时间:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="reqTime" name="reqTime"
				value="${config.gopayServerTime }" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="tranDateTimeTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>对公/对私:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="bcFlag" name="bcFlag"
				value="1" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="virCardNoInTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right></td>
			<td align=left width="45%">&nbsp;&nbsp;1:对公,2:对私
				<td width="25%" align=left></td>
				
		</tr>
	 	<tr>
			<td width="30%" align=right>是否需要Portal审核:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="isCheck" name="isCheck" value=""
				size="50" />
			</td>
		</tr>
		<tr>
			<td width="30%" align=right></td>
			<td align=left width="45%">&nbsp;&nbsp;1:需要portal审核, 2:不需要portal审核
				<td width="25%" align=left></td>
		</tr> 
		<tr>
			<td width="30%" align=right>字符集:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="charset" name="charset" value="2" size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right></td>
			<td align=left width="45%">&nbsp;&nbsp;1:GBK,2:UTF-8 (不填则当成1处理)
				<td width="25%" align=left></td>
		</tr>
		
		
		<tr>
			<td width="30%" align=right>签名类型:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="signType" name="signType" value="1" size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right></td>
			<td align=left width="45%">&nbsp;&nbsp;1:MD5,2:SHA
				<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right>商户服务器后台通知地址:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="backgroundMerUrl" name="backgroundMerUrl"
				value="${config.backgroundMerUrl }" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="virCardNoInTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>备用信息:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="remark" name="remark" value="" size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right>商户识别码:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="remark" name="verficationCode" value="${config.verficationCode }" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="virCardNoInTip"></span>
			</td>
		</tr>
		<tr>
			<td colspan=2>&nbsp;
				<td width="25%" align=left></td>
		</tr>
		<tr>
			<td colspan=2 width="100%"><center>
					<input type="button" value="设置默认值" id="defButton" name="defButton">&nbsp;&nbsp;&nbsp;&nbsp;<input
						type="submit" name="submit" id="submit" value="开始测试" />
				</center>
			</td>
		</tr>
		<font color=red>云账户-付款到银行：请确保在云账户完成绑卡，该交易依赖[绑卡ID]</font>
	</table>
	</table>
</form:form>

